@import './base.css';

#app {
  margin: 0;
  width: 100%;
  height: 100vh;
  font-weight: normal;
  /* 黑客风格终端效果 */
  background: var(--hacker-bg);
  /* 数字雨背景动画 */
  background-image: 
    url('');
  animation: matrixRain 30s linear infinite;
}

/* 黑客风格终端边框 */
.terminal-border {
  border: 1px solid var(--hacker-border);
  box-shadow: 0 0 15px var(--hacker-border-glow);
  background: var(--hacker-panel);
  position: relative;
}

.terminal-border::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(45deg, transparent, var(--hacker-green-glow), transparent);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.terminal-border:hover::before {
  opacity: 1;
}

/* 黑客风格标题 */
.hacker-title {
  color: var(--hacker-green);
  font-family: 'Courier New', monospace;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 0 8px var(--hacker-green-glow);
  border-bottom: 1px solid var(--hacker-border);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

/* 黑客风格按钮 */
.hacker-button {
  background: transparent !important;
  border: 1px solid var(--hacker-green) !important;
  color: var(--hacker-green) !important;
  padding: 6px 16px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-shadow: 0 0 5px var(--hacker-green-glow);
}

.hacker-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--hacker-green-glow), transparent);
  transition: all 0.5s ease;
}

.hacker-button:hover::before {
  left: 100%;
}

.hacker-button:hover {
  box-shadow: 0 0 15px var(--hacker-green-glow);
  transform: translateY(-2px);
}

/* 黑客风格输入框 */
.hacker-input {
  background: var(--hacker-panel-dark) !important;
  border: 1px solid var(--hacker-border) !important;
  color: var(--hacker-text) !important;
  padding: 8px 12px !important;
  font-family: 'Courier New', monospace !important;
  font-size: 14px !important;
  transition: all 0.3s ease;
  caret-color: var(--hacker-green);
}

.hacker-input:focus {
  border-color: var(--hacker-green) !important;
  box-shadow: 0 0 10px var(--hacker-green-glow) !important;
}

/* 黑客风格卡片 */
.hacker-card {
  background: var(--hacker-panel) !important;
  border: 1px solid var(--hacker-border) !important;
  color: var(--hacker-text) !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.hacker-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--hacker-green), transparent);
}

/* 黑客风格表格 */
.hacker-table {
  border-collapse: collapse;
  width: 100%;
}

.hacker-table th {
  background: var(--hacker-panel-dark);
  color: var(--hacker-green);
  text-align: left;
  padding: 12px;
  border: 1px solid var(--hacker-border);
  font-family: 'Courier New', monospace;
  font-weight: bold;
}

.hacker-table td {
  padding: 10px 12px;
  border: 1px solid var(--hacker-border);
  color: var(--hacker-text-secondary);
  transition: all 0.2s ease;
}

.hacker-table tr:hover td {
  background: var(--hacker-panel-light);
  color: var(--hacker-green);
}

/* 黑客风格标签 */
.hacker-tag {
  background: var(--hacker-panel-dark);
  border: 1px solid var(--hacker-green);
  color: var(--hacker-green);
  padding: 2px 8px;
  font-size: 12px;
  font-family: 'Courier New', monospace;
  display: inline-block;
  margin-right: 6px;
  margin-bottom: 6px;
  text-shadow: 0 0 3px var(--hacker-green-glow);
}
